HEX
Server: Apache/2.4.68 (Debian)
System: Linux as-cs-widget-demo-us-central1 6.1.0-44-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.164-1 (2026-03-09) x86_64
User: root (0)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //lib/google-cloud-sdk/lib/surface/managed_kafka/acls/remove_acl_entry.yaml
release_tracks: [GA, ALPHA, BETA]

help_text:
  brief: |
    Remove an acl entry from a Managed Service for Apache Kafka acl.
  description: |
    Remove an acl entry from a Managed Service for Apache Kafka acl.

  examples: |
    To remove an acl entry for the Kafka cluster resource pattern (acl_id=cluster),
    in a cluster named `mycluster` located in `us-central1`, run the following:

      $ {command} cluster \
          --cluster=mycluster \
          --location=us-central1 \
          --principal='User:admin@project.iam.gserviceaccount.com' --operation=ALL \
          --permission-type=ALLOW --host='*'

request:
  collection: managedkafka.projects.locations.clusters.acls
  method: removeAclEntry

arguments:
  resource:
    help_text: Identifies the name of the acl that this command updates.
    spec: !REF googlecloudsdk.command_lib.managed_kafka.resources:acl

  params:
  - _REF_: googlecloudsdk.command_lib.managed_kafka.flags:acl-entry-principal
  - _REF_: googlecloudsdk.command_lib.managed_kafka.flags:acl-entry-operation
  - _REF_: googlecloudsdk.command_lib.managed_kafka.flags:acl-entry-permission-type
  - _REF_: googlecloudsdk.command_lib.managed_kafka.flags:acl-entry-host